<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta charset="UTF-8">
	<title>58 IDEAS</title>
</head>

<link rel="stylesheet" href="/css/newui/login.css?1" type="text/css" />



<script src="http://img.58cdn.com.cn/zt/bangbang/bangbangqiandao/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript">
	function check(){
		flag = true;
		var username = $("#username").val();
		var pwd = $("#pwd").val();
			
		if(username == ""){
			alert("请输入用户名");
			flag = false;
		}else if(pwd == ""){
			alert("请输入密码");
			flag = false;
		}
		return flag;
	}
</script>



<body>
	<div class="section1">
	<div class="content1">
	<img src="image/newui/58data.png">
		<div class="showban">
			<p class="datac">IDEAS</p>
			<p class="datae">Interactive Data Extraction&Analysis System</p>
			<p class="datae">LBG 产品数据部</p>
		</div>
		</div>
    </div>
	<form id="loginform"  name="loginform" class="form" action="${__beat.server.contextPath}/login" method="post" onsubmit="return check();">
    	<input type="hidden" name="message" id="message" value="$!{message}"/>
		<div class="section2">
    		<div class="d1 namediv">
				<i class="namei"></i> <input type="text" class="name"  id="username" name = "username" placeholder="OA账号" value="" />
			</div>
        	<div class="d1">
        		<i class="pwi"></i> <input type="password"  class="password" id="pwd" name = "pwd"  placeholder="OA密码"  value=""/>
        	</div>
        	<div class="d1">
        	    <button type="submit" class="login">登录</button>
        	</div>
			
			</br>
			</br>
			<div align="center">
            	<a style="text-decoration:none;color:red;font-size:12px;" href="/manager/menulist" >不清楚有哪些数据报表？如何申请数据权限？点这里</a>
            </div>
		</div>
    </form>
</body>
<script > 
  var message = $("#message").val();
  if(message != ""){
  	alert(message);
  }
 </script>
		  
</html>